package group.rober.rax.devkit.auth.entity

import group.rober.auth.entity.User

import javax.persistence.Column

class RaxUser extends User{
    @Column(name="UserId")
    String id;
    @Column(name="UserName")
    String name;
    String nick;
    @Column(name="Password")
    String password;
    @Column(name="Avatar")
    String avatar;
    @Column(name="OrgId")
    String orgId;
    @Column(name="Email")
    String email;
    @Column(name="MobileNo")
    String phone;
    @Column(name="Status")
    String status;
    Long revision;
    @Column(name="InputUserId")
    String createdBy;
    @Column(name="InputTime")
    Date createdTime;
    @Column(name="UpdateUserId")
    String updatedBy;
    @Column(name="UpdateTime")
    Date updatedTime;

    String getCode() {
        return id;
    }

    void setCode(String code) {
        super.setCode(code)
    }
}
